package com.javaeedev.junit;

import java.rmi.Naming;

public class Main {

    public static void main(String[] args) throws Exception {
        // client call:
        AuthService service = (AuthService) Naming.lookup("//localhost:1099/AuthService");
        Monitor client = new Monitor(service);
        System.out.println(client.getSystemInfo("test", "test"));
    }

}
